Scanning apparatus and method

ABSTRACT

A scanning apparatus and method for generating computer models of three-dimensional objects comprising means for scanning the object to capture data from a plurality of points on the surface of the object so that the scanning means may capture data from two or more points simultaneously, sensing the position of the scanning means, generating intermediate data structures from the data, combining intermediate data structures to provide the model; display, and manually operating the scanning apparatus. The signal generated is structured light in the form of a stripe or an area from illumination sources such as a laser diode or bulbs which enable data for the position and color of the surface to be determined. The object may be on a turntable and may be viewed in real time as rendered polygons on a monitor as the object is scanned.

CROSS-REFERENCES TO RELATED APPLICATIONS

[0001] This application is a continuation of application Ser. No. 09/000,215, filed May 26, 1998, priority from the filing date of which is hereby claimed under 35 U.S.C. § 120, and which is incorporated herein by reference. Said parent application is the National Stage of International application No. PCT/GB96/01868, filed Jul. 25, 1996, which designates the United States, the benefit of the filing date of which is hereby claimed under 35 U.S.C. § 371.

FIELD OF THE INVENTION

[0002] This invention relates to an apparatus and method for scanning a three-dimensional object.

BACKGROUND OF THE INVENTION

[0003] Real-world, three-dimensional objects, whether with natural form (e.g., geographical, plant, human, or animal-like) or man-imagined form (e.g., sculptures, reliefs, cars, boats, planes, or consumer products) are difficult to scan. This is because of features such as rapidly varying surface normals and surfaces for which a line of sight is difficult because it is partially obscured by other parts of the object.

[0004] Scanning machines—also known as digitizing machines—for scanning objects or parts of objects can be categorized into two types—computer numerically controlled (CNC) and manually operated. A scanning machine includes a unit that contains a sensing means commonly referred to as a probe.

[0005] Objects or parts of objects can be scanned on CNC scanning machines with a number of computer numerically controlled (CNC) linear and rotating motor-driven axes. Different CNC machines can move/reorient the probe or the object—or both—by a combination of translation and rotation about these axes. Different machine designs are suited to different classes of objects. Probes can be temporarily or permanently attached to most types of CNC machine tool or CNC coordinate measuring machine that can then be used for scanning. As examples, small and simple three-axis CNC milling machines may be used or large, complex five-axis machines may be used. The points captured by CNC machines are usually on a regular grid and the rate varies from around 1 point per second up to around 20,000 points per second, depending on the technology being used, and the object being scanned. The points from these scanning machines are accurate to the order of 0.05 mm. CNC machines with probes scan by executing one or more programs that move the axes of the machine such that there is relative motion between the probe and the object.

[0006] CNC machines are expensive, partly because of the incorporation of motors and the associated equipment for assuring precision motion, such as linear guides and drive screws. Few CNC machines are flexible enough so that the probe can be oriented in six degrees of freedom so as to scan the complete surface of a complex object. Even when a CNC machine has six degrees of freedom, it is often not sufficiently flexible so as to position the probe to scan the complete surface of the object without colliding with the object. When the object is a person or expensive, the risk of using a CNC machine may be unacceptable, and there would be a necessity to make a machine to meet both the safety and scanning requirements of the application. The programming of a CNC machine so that the surface of the object is completely scanned without a collision of the probe or machine with the object is often highly complex. Usually, the design of the machine and the degrees of freedom inherent in the design and limitations in the probe design, such as the standoff distance during scanning between the probe and the object, mean that it is impossible to come up with a scanning strategy that will scan the complete surface of the object. It is common that the object has to be manually picked up and replaced in a different position and/or orientation one or more times during scanning. Each time that this occurs, the object has to be reregistered to a uniform coordinate system such that the data from the different scans can be accurately combined.

[0007] Manually operated scanning machines can be categorized into three types—horizontal arm machines, multiply-jointed arms, and devices based on remote position-sensing means.

[0008] Manually driven, horizontal arm measuring machines usually have three orthogonal axes and are usually based on a traveling column design. These machines are usually quite large, with the bed being at floor level so large items such as cars can easily be moved onto and off of them. Often motors can be engaged on one or more axes to aid the manual movement of the machine. The probe is normally mounted at a fixed orientation on the end of the horizontal arm. This orientation may be changed and various devices may be attached between the end of the horizontal arm and the probe to aid the changing of the orientation, most of these devices having two axes. Horizontal arm machines have the disadvantage of not being able to easily orient the probe in six degrees of freedom. The limited flexibility in the design of a horizontal arm machine makes most of the far side of the object unscannable.

[0009] Multiply jointed arms commonly comprise multiple linkages and are available for scanning complex objects. A multiply jointed arm typically has six joint axes, but may have more or less joint axes. At the end of the multiply jointed arm, there is usually a tip reference point—such as a sphere whose center is the reference point, or a cone ending in a point.

[0010] Scanning is carried out by bringing the point or sphere into contact with the object being scanned. The computer monitoring the multiply jointed arm then measures the angles at all the joints of the multiply jointed arm and calculates the position of that reference point in space. The direction of the last link in the multiply jointed arm is also calculated. Positions can typically be output continuously at a rate of around 100 points per second, but the rate can be much more or much less. The accuracy is of the order of 0.1 to 0.5 mm. The points from the arm are usually sparse and unorganized. The sparseness and lack of organization of the points make it difficult to provide enough information for constructing a computer model of the object that is of acceptable quality. A multiply jointed arm with multiple linkages has a limited working volume. In general, if a larger working volume is required, the arms become very expensive, less accurate and tiring, and difficult to operate. The limited working volume can be increased by leapfrogging, in which the whole arm/base is moved to access another volume; but this requires a time-consuming system of registering at least three points each time the arm is moved and recombining the data sets from each arm position. Manufacturers of multiply jointed arms provide precalibrated arms and test methods that the user may employ to make sure that the arm is still calibrated to an acceptable accuracy. Such test methods use, for example, the standard tip reference point at the end of the arm and a reference sphere or a ball-bar, which is a rod with two cylindrical cups that has a precise known distance between a home ball and a end of arm ball. As the arm tip at the end of the ball bar is moved on the surface of a spherical domain, the arm records positions that are later compared to a perfect sphere, and error estimates for the arm are output.

[0011] Remote position-sensing devices include hand-held devices that transmit or receive position information in a calibrated reference volume using different physical methods, including electromagnetic pulses and sound waves. A hand-held device may be connected to the rest of the system by means of a cable. These devices are prone to generating scanned points with very large errors. Some devices cannot work when the object being scanned has metallic components. They are less accurate than multiply jointed arms, with accuracies of the order of 0.5 mm upwards.

[0012] There are three broad categories of scanning probes that could be mounted on the end of a multiply jointed scanning machine—point, stripe, and area probes. Point probes measure a single point at a time and technologies include mechanical contact methods and optical distance measurement methods. Stripe probes measure a number of points in a line, either simultaneously or rapidly in a scanned sequence. The most common stripe technology is laser stripe triangulation. Area probes measure a two-dimensional array of points on a surface, either simultaneously or in a scanned sequence. The most common technologies are interference fringe and multiple stripe projection. Some area methods require the device to be held still for a few seconds during data capture. Stripe and area methods have an in-built speed advantage over point methods, as there is less motion of the probe relative to the object. There are differences between the methods in terms of accuracy and cost, but these do not generalize with category. For example, a particular area technology may be cheaper and more accurate than another point technology.

[0013] Means of capturing independent reference/feature points by contact are well known and efficient. Structured light using stripe or area methods is not good at capturing independent feature points because there is no way for the operator to align a known point on the object with a point on the stripe or in the area.

[0014] Geometrical errors in the scanning process stem from many sources. CCD cameras can typically capture video at 25 frames per second. One major disadvantage in normal use is that from any given demand for a frame, there is a variability of 40 msecs until the start of capture of that frame. If the probe is being moved at, for example, 100 mm/sec, this can lead to a geometrical error of 4 mm in the probe's data. The duration of frame capture depends upon the shutter speed; e.g., {fraction (1/100)} sec is 10 msecs. One major disadvantage in normal use is that if the probe is being moved with a slow shutter speed, an additional geometrical error is created. An arm is typically connected to a computer by a serial cable with arms typically generating positions at 125 positions per second as they move. At this rate, there is a variability of 8 msecs between when a position is needed at the computer and when it arrives. This can also introduce a geometrical error when the probe is moving. The total variabilities of the CCD camera and the arm can cause large aggregate errors.

[0015] There is a wide range of formats for 3D information in current use. These include the general categories—point formats, polygon formats, and complex surface formats.

[0016] Point formats include independent points, lines of points where a plane intersects with a surface, 2.5D areas of points that are commonly known as range images that are single valued in Z and 3D point arrays, which are often generated by medical scanners. The point formats have many standard representations including the Range Image Standard (RIS) resulting from the European ESPRIT Research & Development Project 6911, IGES, and DXF published by AutoDesk, Inc., in the USA.

[0017] Polygon formats include polygons of different geometrical forms. Polygons may be 3- or more sided and formats may include mixed numbers of sides or always the same number of sides. Special cases, such as Delaunay triangulation, can specify the positioning of vertices and the relative lengths of the sides of polygons. Standard representations of polygon formats include STL, published by 3D Systems, Inc., in the USA; IGES; OBJ, published by Wavefront, Inc., in the USA; and DXF.

[0018] Complex surface formats include Bezier, NURBS, and COONS patches. Standard representations of complex surface formats include IGES, VDA-FS, SET, STEP, and DXF.

[0019] The objective of scanning can be simply to gather a number of three-dimensional points on the surface of the object, or it may be to create a computer model in a format that is useful for the application in which the model is to be used. It is generally true that a cloud of points alone is not much use in many applications and that more structure is needed to make a computer model efficient to manipulate in typical applications such as visualization, animation, morphing and surface or solid modeling.

[0020] There are often benefits to be gained from reducing the size of the files associated with the model formats. Any file, whatever its format can be compressed using standard reversible utilities, such as PKZIP/PKUNZIP from PKWare in the USA. With 3D point arrays, an octet format can be used to reduce the size of the arrays that represent a surface. An octet format splits a cubic volume into eight, smaller cubes, and only further subdivides cubes by eight if they contain information. An octet format is reversible. Moving from unstructured point representation to polygon or complex surface formats often produces large compressions but relies on approximations, so the process is nearly always irreversible. It is also difficult to automate so as to give good enough results. Chordal tolerancing is a commonly used method of reducing the quantity of discrete points in a 2D or 3D polyline. As an intermediate data structure, it has disadvantages in that the intermediate data structure does not record the orientation of each stripe; it does not record breaks in the data, but assumes that all the points are connected by a surface; and it does not record jumps in the data, such as those caused by occlusions.

[0021] Most scans today are carried out using a multiply jointed arm with a tip reference point. It is usual to first mark the object to be scanned with a permanent or temporary marking device, such as an ink pen or scribe, to create a polygonal network of splines. A single point is then scanned at each network intersection. On the computer, the points are linked together into a polygonal structure. The overall process (marking, scanning, and linking) of creating a 3D polygonal model is at a typical rate of 1 point (or vertex on the model) every 3 seconds. In some implementations, the network is not marked on, but appears on a computer display as each point is scanned. With this implementation, the network is built up interactively. This method is suitable for models with a relatively small number of vertices, i.e., hundreds and thousands. The method is very slow, requires skill, patience, and concentration, and is expensive in human time—particularly for large, detailed objects that can take three weeks to scan.

[0022] An alternative method of scanning with a multiply jointed arm and contact tip reference point has often been tried, in which independent points are rapidly captured without the aid of a network. The points are then input into a surfacing software package, which then constructs a polygonal network between the points. However, the “polygonization” of unorganized data points is usually very slow, and speed decreases significantly as the number of points increases. The results are usually so poor as to be unacceptable. There is usually a significant amount of hand editing of the data required.

[0023] Where a CNC scanning machine is used, the intermediate data structures are usually range images. A number of unregistered range images may be registered, polygonized, and integrated together. The raw data is a number of range images of an object—typically from 5 to 20 in number—with each one either being a cylindrical or a linear range image. The process is not automatic and requires a combination of operator guidance and automated execution of algorithms. The operator first tries to align (i.e., register) the range images to each other on the computer using a graphics display. This process is not accurate and is followed by an automatic least squares fitting process that attempts to adjust the position and orientation of each range image such that they fit together as well as possible. This process is lengthy, often taking hours on a powerful computer. Each range image is then independently polygonized into a network of 2.5D triangular polygons. Finally, the networks of triangular polygons are integrated. The output is a single 3D polygon data set. The process is expensive, both in terms of capital equipment cost and people time. It can take up to two years to become skilled enough to scan objects to produce good enough models. It can work and produce good results for detailed objects.

[0024] For smooth objects, where the objective is to create complex surface formats, a coordinate measuring machine with a contact tip reference point is commonly used. It is usual to mark up the object with the desired surface patch boundaries by using a marking device, such as a pen or a scribe. These patch boundaries are then hand digitized with the contact point probe. The software package then generates a CNC scanning program that automatically takes more points along the boundaries and inside the patches. The software then automatically generates a first attempt at the surface model. This method is used because it is quicker and easier for the operator to define patch boundaries that will lead to a surface model with the desired structure before scanning, than to define the patch boundaries after scanning using a software package on a computer with a display showing the scanned points. It can take several days, and often weeks, to create patch boundaries that are usually splines, then create the patches and then trim the patches to form a surface model by using only the scanned points and a computer.

[0025] Scanned data points have been displayed in real-time. The display of points has the disadvantage of easily becoming confusing to interpret, and also that the observer does not know when parts of the object's surface have been missed during scanning.

SUMMARY OF THE INVENTION

[0026] According to the present invention, there is provided a scanning apparatus for scanning an object to provide a computer model thereof, comprising means for scanning the object to capture data from a plurality of points on the surface of the object, where the scanning means captures data from two or more points simultaneously; means for generating intermediate data structures therefrom; means for combining the intermediate data structures to provide the model; means for display; and means for manually operating the scanning apparatus.

[0027] The apparatus is most efficient in the quest to reduce the time and cost of generating a computer model from a real-world object by means of scanning with both time and cost reductions of an order of magnitude achieved over conventional techniques. The model is generated automatically from the intermediate data in a form that may be immediately usable in a wide range of applications.

[0028] The scanning means may use structured light to more quickly scan the surface of the object. The scanning means may also be operable to sense the color of the surface of the object, resulting in a model more like the real-world object.

[0029] Preferably, the scanning means therein comprises means for generating a signal for scanning the object, signal detection means for detecting the signal reflected from the object, and means operable in response to the detected signal to provide the data for the intermediate data structure.

[0030] The structured light is preferably projected as a plane of light such that a stripe is formed on a viewing plane that is situated normal to the projection axis of the signal generating means and situated at the average standoff distance from the signal generating means.

[0031] Alternatively, the structured light may be projected such that a pattern is formed on an area of a viewing plane that is situated normal to the projection axis of the signal generating means and situated at the average standoff distance from the signal generating means.

[0032] The signal generating means may be an illumination source such as a laser diode or one or more bulbs.

[0033] During scanning, the operator may see the surface he has scanned appearing in real-time as rendered polygons on the display such that he may more easily scan the object. The operator may mount the object on a turntable, and then he may scan from a seated position rather than walking around the object. The scanning means can be mounted on many different types of manual machines, giving enhanced flexibility for objects ranging in size from small to very large. The scanning means can be mounted on a multiply jointed arm for accurate scanning. The scanning means may be a self-contained unit that contains a remote position sensor and incorporates a display to give the most flexibility in scanning. According to the invention, there is also provided a method for scanning an object to provide a computer model thereof, comprising the following steps:

[0034] Manually scanning the object with a signal by manual operation of a signal generating means;

[0035] Detecting the reflected signal;

[0036] Generating intermediate data structures for the points;

[0037] Combining the intermediate data structures to provide the model; and

[0038] Displaying the data, wherein the data is captured from a plurality of points on the surface of the object simultaneously.

[0039] According to a further aspect of this method of the invention, the color data is also captured from the object and then mapped on to the model.

[0040] Preferably, the data is displayed simultaneously as a plurality of display polygons.

BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The foregoing aspects and many of the attendant advantages of this invention will become more readily appreciated as the same become better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:

[0042]FIG. 1 is a schematic representation of a scanning apparatus according to the invention;

[0043]FIG. 2 is a schematic perspective drawing of a probe;

[0044]FIG. 3(a) illustrates a first embodiment of the configuration of the optical elements housed in a probe;

[0045]FIG. 3(b) illustrates a lamp configuration;

[0046]FIG. 3(c) illustrates an alternative to the lamp configuration of FIG. 3(b);

[0047]FIG. 3(d) is a graph illustrating intensity as a function of distance along the line A1-A2 of FIG. 3(a);

[0048]FIG. 4 illustrates a second embodiment of the configuration of the optical elements housed in a probe;

[0049] FIGS. 5(a) to 5(d) illustrate a method of calibrating the color of the scanning apparatus of FIG. 1;

[0050]FIG. 6 is a schematic block diagram illustrating the capture of color and position data;

[0051]FIG. 7 is a schematic representation illustrating how the detection of the color and position data is synchronized;

[0052]FIG. 8 is a schematic representation of the end of the multiply jointed arm of the apparatus of FIG. 1;

[0053]FIG. 9 is a schematic illustration of the turntable and multiply-jointed arm of the apparatus of FIG. 1;

[0054]FIG. 10 illustrates the mounting of the probe on the multiply jointed arm;

[0055]FIG. 11 illustrates the alignment of the mount on the multiply jointed arm;

[0056]FIG. 12 illustrates the alignment of the probe on the multiply jointed arm;

[0057]FIG. 13 illustrates a linear range image;

[0058] FIGS. 14(a)-14(b) illustrate cylindrical range images;

[0059]FIG. 15 illustrates the range image placing method;

[0060]FIG. 16 illustrates the surface normal extension method;

[0061]FIG. 17 represents the structure of a single point in a range image;

[0062]FIG. 18 illustrates the representation of an object by three range images;

[0063]FIG. 19 illustrates the range image updating method;

[0064] FIGS. 20(a)-20(b) illustrate first and second stripes captured on a CCD array;

[0065] FIGS. 20(c)-20(f) illustrate the respective captured data points and strings of data points from the first and second stripes of FIGS. 20(a) and 20(b);

[0066]FIG. 20(g) illustrates polygons generated from these strings;

[0067]FIG. 21 illustrates a probe mounted on a head and a heads-up display;

[0068]FIG. 22 illustrates color image mapping;

[0069]FIG. 23 illustrates the timing for position interpolation;

[0070]FIG. 24 illustrates the triggering of the arm position measurement;

[0071]FIG. 25 illustrates an object with marked lines thereon;

[0072]FIG. 26(a) illustrates a probe mounted on a multiply jointed arm, which is mounted on a horizontal arm machine;

[0073]FIG. 26(b) illustrates two opposing horizontal arm machines;

[0074]FIG. 27 illustrates a human foot being scanned;

[0075]FIG. 28(a) illustrates stripe sections of a pipe network and panel;

[0076]FIG. 28(b) illustrates partial polygon models of a pipe network and panel;

[0077]FIG. 28(c) illustrates extrapolated polygon model of a pipe network;

[0078]FIG. 29(a) illustrates stripe scanning; and

[0079]FIG. 29(b) illustrates area scanning.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

[0080] Referring now to FIG. 1, a scanning apparatus 100 comprises a multiply-jointed arm 1 with an arm control unit 2 and a probe 3. The control unit 2, which includes a processing unit 10, is coupled to a computer or processing unit 4 and color monitor 7. The probe 3 is also coupled to a probe control unit 5 that is likewise coupled to the computer 4. The intermediate data is displayed on the color monitor 7 as rendered polygons 13. The probe 3 provides a stripe 8, which is projected onto an object 9 positioned on a turntable 14. The stripe 8 is in the form of a plane of light. Buttons 6 are also provided to control data capture. A color frame grabber 11 in the computer 4 is mounted on a standard bus 12 and coupled to the probe 3.

[0081] The computer 4, probe control unit 5, arm control unit 2, buttons 6, color frame grabber 11, and monitor 7 are provided separately. For example, the computer 4 and monitor 7 may be a personal computer and VDU, although for certain applications, it may be more convenient for one or all of them to be provided on the probe 3.

[0082] The multiply jointed arm 1 and the probe 3 are coupled to the computer 4 by means of the control units 2, 5 discussed above. The computer 4 receives information from the scanning stripe 8, the position/orientation of the arm 1 in terms of X,Y,Z coordinates, with the coordinates I,J,K of the surface normal of the probe 3 and color data if required.

[0083] Referring now to FIG. 2, an embodiment of the probe 3 for use with remote position sensors 261 is shown. The probe 3 is lightweight and resilient so as to withstand being knocked without losing its calibration.

[0084] Referring now to FIG. 29(a), the structured light is preferably projected as a plane of light 364 such that a stripe 8 is formed on a viewing plane 360 that is situated normal to the projection axis 361 of the signal generating means 362 and situated at the average standoff distance S from the signal generating means.

[0085] Referring now to FIG. 29(b), the structured light may be projected such that a pattern 363 is formed on an area 365 of a viewing plane 360 that is situated normal to the projection axis 361 of the signal generating means 362, and situated at the average standoff distance S from the signal generating means. The pattern 363 in this example is a number of stripes that may be of different colors.

[0086] Two alternative embodiments of the probe 3 are described. Now referring to FIGS. 3(a)-3(d), one embodiment of the probe 3 is described. The probe 3 comprises a number of components mounted on a base plate 20. A stripe generator 22—for example, containing a laser diode—provides the stripe 8 for projection onto the object 9 to be scanned. Typically, the laser will be of Class 2 or less, according to the CDRH 1040.11 classification in the USA, viz. less than 1 mW in power at 670 nm wavelength. The stripe 8 is nominally focused at some point P. A lens assembly 24 is used to focus the image onto a high resolution CCD camera 25. The camera 25 may be oriented at an angle, satisfying the Scheimpflug condition. An optical interference notch filter 26 is used to selectively image light of the wavelength of the stripe 8. A simple glass cut-off filter 27 reduces ambient light within the probe.

[0087] Information on the color of the surface of the object may be recorded in intensity scales or color scales, such as RGB.

[0088] An intensity scale estimate of the color of the surface may be obtained by recording the reflected light level of the stripe as it is imaged on the high resolution CCD camera 25 at each point. A high level indicates a light surface at that point that scatters much of the projected light, and a low level indicates a dark surface at that point that absorbs much of the projected light. These indications may be false, such as on specular surfaces, as known to a person skilled in the art.

[0089] A color estimate of the color of the surface can be obtained by means of a color camera 29 comprising a color CCD array. Color scanning requires that the object be lit. Lighting may be by means of ambient light from external light sources or by lamps situated on the probe. There are several disadvantages in using ambient light only for color scanning. First, ambient light intensity varies over nearly every object in a standard environment such as a room with overhead lighting. Second, it can be a time-consuming procedure to position a number of lights so as to evenly light the object. Third, the probe itself can cast shadows onto the object.

[0090] Four lamps 28(a)-28(d) are provided around the lens 31 of the camera 29 for illumination, or a ring lamp 28′ could be used. This configuration is used to avoid any problems of shadowing. The lamps may include respective back reflectors 32 a-32 d, where appropriate. The lamps are set to give an average intensity of around 80-150 Lux, but the intensity could be much more or less and, during use, ambient light is reduced significantly below this level—for example, by dimming or switching off overhead lights. This removes any effects from variations in ambient light. The lamps may be tilted with respect to the camera axis to ensure that light of a more even intensity is projected onto the object 9 at the average scanning standoff distance. The lamps should be small in size to obtain the least possible weight penalty, especially if two or more lamps are used. To extend their life, they can be operated at a lower voltage at certain time periods—for example, while preparing for the capture of each image. When the operator triggers a color image capture, the voltage to the lamps can be momentarily increased to maximum. The lamps are only switched on for color capture. During the process of 3D capture, the lamps are switched off where this will also have the added advantage of increasing the signal to noise ratio. An access panel 35 can be provided over the lamps so that the lamps can be easily replaced without opening the probe and risking losing its calibration. To improve results when scanning a reflective surface, polarizing material 34 is placed between the camera 29, lamps 28 a-28 d, and the object 9. To reduce variations in the projected light, diffusers 33 a-33 d are placed in the light path between each lamp and object 9 or, alternatively, the lamp glass or back reflectors are treated accordingly.

[0091] Referring now to FIG. 4, the second embodiment of the probe 3 is described. As also preferable with the first embodiment, the base plate is provided with a removable two-piece cover 21 mounted on the base plate 20 to define a housing for the components of the probe 3 to exclude ambient light and to protect the components. It may have a metallic interior coating to reduce electromagnetic emissions and susceptibility. The cover is appropriate for both embodiments.

[0092] The probe 3 in the second embodiment can also capture the color of the surface of the object 9. The color is captured using an optical system that is coplanar with the light stripe 8. The main advantage of coplanarity is that it provides the color of each point directly, whereas non-coplanar systems, such as in the first embodiment, require extensive post-processing computation to map the captured color data onto the captured 3D data. In non-coplanar systems, the whereabouts of the stripe in the color camera is significantly variable due to the non-alignment of the two cameras, leading to an embodiment that is operated for scanning in two passes—3D and color—instead of the one pass that is achievable from the first embodiment.

[0093] During use, with the stripe generator 22 switched off and the lamp 28 switched on, a color sample 32 of the object 9 is directed back along the direction of where the stripe 8 would be if the stripe generator were illuminated where it is reflected by a half-silvered mirror 30 and focused onto the color camera 29 via a lens assembly 31.

[0094] In a probe 3, where the stripe generator 22 produces a white stripe, the color and position can be captured synchronously. The environment would need to be dark in this case, and lighting 28 would not be required.

[0095] A look-up method is provided for determining where to read the color from the rectangular array of the color camera 29, depending on the object distance S at all points along the stripe 8. Now referring to FIGS. 5(a)-(d), a color camera look-up table 166 is prepared by viewing the stripe—when it is permanently illuminated—at a sufficient number of points in a rectangular array covering the distance measuring depth and the stripe measuring length. A fixed-length, flat object 161 is one item that can be used for this purpose, and it typically has a white surface. The flat object 161 is placed on a light stripe absorbent background 162. The probe 3 and the flat object 161 move relative to each other in the direction of the W axis such that stripes 163 are imaged. The color camera image 165 shows the imaged stripes 163 a collected in a region 164 of the array. In the case of perfect coplanarity, the imaged stripes will be superimposed (see 163 b in FIG. 5(c)). The look-up table 166 is then built up so that, for a scanned point 167 on an object with coordinates V1,W1, will have a color image position Cx,Cy in the look-up table 166 that stores an array of values of Cx,Cy for the V,W ranges. During scanning, the color image is usually scanned before the stripe measurement. The extent of the look-up table 166 can determine how much of the color image 165 needs to be stored while the points are being calculated, i.e., the extent of region 164. This reduces the amount of memory needed in the computer 4 and the required bandwidth for transferring color information from the camera 29 into the computer 4, allowing the possible use of lower cost units, such as the frame grabber 11 located in the probe control unit 5, or in the computer 4 on a bus, as discussed above. It is probably not worth the expense of building a perfectly coplanar system, as a roughly coplanar system can be calibrated as described above to produce as effective a result.

[0096] Referring now to FIGS. 6 and 7, on coplanar systems, if the light stripe 8 is of a color other than white, then it is difficult to capture the object's surface position and color at the same time. To overcome this problem, the light stripe 8 and color camera 29 can be switched on and off such that the color is recorded shortly before or shortly after the position. Adjusting circuitry can be provided to change the exposure times of the color camera 29 and the stripe generator 22 and to ensure that the gap between the color capture and the stripe capture is minimized. To achieve this, a video synchronization generator 60 generates a synchronization signal 61 of pulses at video camera rate—which, using the CCIR format, is 50 times per second. The synchronization signal 61 is fed into the high-resolution camera 25 and the color camera 29. The exposure time of the color camera 29 can be set manually using a switch 63 or remotely with an electrical signal. The synchronization signal 61 is also fed into a standard circuit 62, which switches on the stripe generator 22 for a period of time after an initial delay. The period of time that the stripe generator is on may be set manually using a control 64, and the delay between when the synchronization signal 61 is received and the stripe generator 22 is switched on may also be set manually using a control 65. With reference to FIG. 7, the synchronization signal 61 is represented by the trace SYN. The illumination of the stripe generator 22 is represented by the trace L. The exposure of the color camera 29 is represented by the trace C. The exposure of the high-resolution camera 25 is represented by the trace M. This is only one way by example of controlling coplanar probes.

[0097] Referring now to FIG. 8, the probe 3 projects the stripe 8 so that the measuring area starts before a tip reference point 51 provided at the end of the multiply-jointed arm 1 and extends a further distance. The tip reference point 51 may be the tip of a cone, a sphere, or a rolling device, such as a rolling wheel or ball, or the point may be anything similar providing a tip. In the embodiment described herein, the tip reference point 51 is the center of a sphere 52. This tip reference point 51 enables the operator to scan hard objects by tracing the sphere 52 along the object 9 in strips in contact with the object 9. For soft objects, the sphere 52 acts as a scanning guide, and typical instructions might be to keep the tip reference point 51 about 20 mm from the object 9 while scanning. In this way, the probe 3 may be kept close enough to the object 9 for the stripe 8 to be in the measuring area but without touching the soft object 9. The stripe 8 typically starts 100 mm from the tip reference point 51 at the end of the arm 1, but could be much closer or further away, and can be used to measure objects lying between the two points W1 and W2, as measured from the end 55 of the probe 3. The ideal method—from a usability point of view—is for the plane of the stripe 8 to be coaxial with the axis 54 of the last section 50 of the arm 1. This is the case for a purpose designed arm and a hand-held probe. The probe 3 may often be retrofitted onto the arm 1, and because a mechanical arm has a diameter of typically 20-60 mm, this presents an alignment problem. In this case, the plane of the stripe 8 is not coaxial, but may be either in a plane 53 parallel to the arm end axis 54 or in a plane 53 a angled to this axis 54, so as to cross the axis 54 at some point. By crossing the axis 54 of the arm 1 somewhere in the measuring range, the ergonomics of the arm 1 can be enhanced because the light plane is in an easier to use position. This crossover is typically somewhere between the tip reference point 51 and the end W2 of the measuring range.

[0098] Referring now to FIG. 9, the use of a manually rotated turntable has several advantages. For a given arm size, larger objects can be scanned. The operator does not have to move around the object. This makes scanning physically easier, more enjoyable, and there is less chance of either the operator or the arm accidentally knocking the object or of any reference point being lost.

[0099] The position and coordinate system of the turntable 14 must be known relative to that of the arm 1. The tip reference point 51 can be placed in a locating cone or cup 202 in the table at a large radius. Points are transmitted regularly by the arm control unit 2 and recorded on the computer 4 as the turntable 14 is manually rotated. Functions that fit a plane and a circle through these points provide complete position and orientation information on the turntable 14 in the arm coordinate system.

[0100] During scanning, it is important to know the turntable angle. The turntable may be designed to have precise mechanical resting positions 206 a-206 d, e.g., every 15 degrees. These resting positions 206 would be apparent from a pointer 208 indicating the angle on an attached scale 209 of 360 degrees. The operator could type in the new angle into the computer each time the turntable was rotated. However, the process of typing in an angle means that the operator may have to put down the probe 3. This slows down scanning, and there is scope for an error to be made by the operator.

[0101] With an electrical connection 204 between a position sensor 203 on the turntable 14 and the computer such that the computer could know either precisely or roughly the turntable angle, the process is faster and less error prone. If the sensor 203 is accurate—such as an encoder with, for example, 10,000 lines—then the turntable 14 could be positioned at any orientation and its angle known precisely. This allows for scanning while rotating the turntable, although care must be taken that dynamics do not lead to position errors or to the object moving relative to the turntable. If the sensor 203 is less accurate—such as a potentiometer—then the turntable 14 could also have precise mechanical resting positions 206. This gives the advantages of high accuracy and lower manufacturing cost. Each time the probe 3 captures data from the object 9, the software must check for movement of the turntable 14. If it has been moved then with a less accurate turntable sensor 203, probe data should be thrown away until the turntable 14 has stopped moving. In all cases, the turntable 14 should be capable of being operated by one hand such that the probe does not have to be laid down. It is often the case that an object on a turntable is scanned with regular increments, e.g., eight scans every 45 degrees. To aid the operator in incrementing by X degrees, different shaped and/or colored icons could be placed every X degrees on the scale and on the other regular intervals. Typical intervals might be 45, 60, 90 degrees. With reference again to FIG. 2, this method can also be used with a probe 3 including one or more remote position sensors 261 with a tip reference point 51. The manual turntable may be driven by a motor operable by means of hand controls.

[0102] Each time a probe 3 is mounted on the arm 1, if the mounting is not repeatable to a high accuracy, then the transformation in six degrees of freedom between the arm coordinate system X,Y,Z and the probe coordinate system U,V,W will have to be found.

[0103] A mounting device 210, 214 for the probe is illustrated in FIG. 10. Accurate and repeatable geometric positioning of the probe on the arm is required. This is provided by the mounting device 210, 214. The mounting device 210, 214 provides a standard mechanical interface that may preferably be used for all probes and arms, which is both small and light, and that is easy to use to mount and dismount the probe onto and off the arm. The mounting device comprises a arm side mount 210 that comprises a flat mating surface 211 with two precisely dimensioned projections 212 located in precise positions on the mating surface 211. The mounting device also comprises a probe side mount 214 comprising a flat mating surface 215 and two precisely-dimensioned recesses or holes 216 corresponding to the two projections 212 in the arm side mount 210. It is essential that the geometric repeatability in position and orientation is very high.

[0104] A standard mounting device between any arm and any probe gives several advantages. When the arm has to be used without the probe, then the probe has to be removed. If the mounting device is not repeatable, then the system will require realignment before use each time the probe is remounted.

[0105] Typically, a range of probes will be supplied with different weights, speeds, sizes, and accuracies corresponding to different functions. Each probe can be supplied with alignment data relative to the datum of the probe side mount 214 and, in this way, any probe may be attached to the arm without the requirement of realignment. A user may also have one or more different arms. In order to fit the same probe to two different arms, the user needs only to acquire an extra adapter for the second arm, which would fit onto the arm and include the arm side mount 210 of the mounting device 210, 214. The arm side-mounting device 210 may be attached to any machine, including multiply-jointed arms, horizontal arms, and orientation devices such as manual, two-axis orientation devices.

[0106] To calculate the six degrees of freedom transformation between the arm coordinate system and the probe coordinate system, one can either treat it as one transformation or as a multiplication of two transforms if the accurately repeatable mount is considered as an intermediate reference point, i.e., the transformation matrix Tap between the arm and the probe coordinate systems is equal to the transformation matrix Tam between the arm and the mount coordinate systems multiplied by the transformation matrix Tmp between the mount and the probe coordinate systems:

Tap=(Tam).(Tmp)

[0107] The transformation matrix Tam can be found in several ways. Now referring to FIG. 11, a particularly simple, cost effective, and practical method involves the use of a reference plate 220. The reference plate 220 has three orthogonal flat surfaces 222 and a mounting point 221 to which the arm side mount 210 can be attached in a precisely known position relative to the orthogonal planes. Tam can be calculated using the following steps:

[0108] The reference plate 220 is fixed so that it cannot move relative to the arm coordinate system;

[0109] The arm side mount 210 is fixed rigidly onto the arm 1 (if it is not already present), without the probe attached;

[0110] The three orthogonal planes 222 of the plate 220 are measured by the tip reference point 51 on the arm such as to fully define the position and orientation of the reference plate;

[0111] The arm mount is then mated with the mounting point 221 on the reference plate 220;

[0112] The arm position and orientation are recorded; and

[0113] The transformation matrix Tam is then calculated from the known geometry of the reference plate 220 and the measurements from the previous steps.

[0114] The above method can be encapsulated in the main scanning software provided with the scanning system or in a separate program. This has the advantage that much time is saved over an alternative of the user calculating Tam manually from arm positions output by the arm manufacturer's software and manually inputting the resulting Tam into the main scanning system software.

[0115] The probe side mount 214 is integral to the probe and does not move relative to the probe coordinate system. The transformation matrix Tmp is provided by the probe supplier with the calibration data for the probe.

[0116] The direct calculation of Tap using the arm and probe coordinate systems but without involving an intermediate mount can be carried out in many ways. Most of the ways involve using the probe mounted on the arm to capture data from one or more geometrical objects. The problem has proven to be very difficult, since many of the standard methods produce inaccurate results in either the orientation or position components often due to inherent instabilities triggered by relatively small errors. One way is disclosed, by example, for an S stripe probe:

[0117] Now referring to FIG. 12, the transformation matrix Tap is calculated by:

[0118] 1. Mounting the alignment calibration object with three orthogonal faces 230 so that the three orthogonal flat surfaces 231, 232, 233 are reachable and accessible by the probe 3 mounted on an arm 1;

[0119] 2. Capturing at least three stripes from three different orientations on the first flat surface 231. The orientations need to be different enough to provide stability to the mathematical algorithm (in practice, a variation of at least five degrees between every two of the stripes is sufficient);

[0120] 3. Repeating this three or more stripes capture on a second flat surface 232 and on a third flat surface 233; and

[0121] 4. Processing the data from the nine or more stripes in an iterative fashion to output Tap.

[0122] The handedness of the coordinate systems of the arm 1 and the probe 3 would be known. The relationship between the normals of the surfaces on the alignment calibration object 230 could be specified. One way of doing this is by labeling the three faces 231, 232, 233 and specifying the order in which the three faces must be scanned.

[0123] The main advantages of the above apparatus and its method of aligning the probe are (11) that it involves a single alignment calibration object that is cheap to manufacture to the required geometrical tolerance and is relatively light and compact; (2) that the method is robust, simple to carry out from written instructions and quick; (3) that the processing can be encapsulated in the main scanning software provided with the scanning system or in a separate program; (4) that there is no need to have any preliminary geometric information about the orientation and position of the probe relative to the tip of the arm at the start of this method—for example, the probe could be slung on the underside of the arm pointing backwards and the method would work; and (5) that if the probe is knocked or damaged such that Tmp changes but the calibration is still valid, then this method of alignment will still work.

[0124] In using scanning systems to provide data for 3D applications software, the need for specific 3D reference points in addition to 3D surfaces became apparent. Some applications for which 3D surfaces are required that also require 3D reference points are animations involving joint movements where a joint is to be specified in the context of the 3D model. In this case, the joint can be quickly defined from one or more 3D reference points. A new method of using the scanning system is to use the probe 3 to scan the surface and to use the tip reference point 51 to capture individual 3D points by contact. An alternative method is to project a calibrated crosshair onto the object and use an optical method of picking up individual points. This can be used in both stripe and area systems. The calibrated crosshair is usually switched on just during the period in which individual points are captured. There could be two modes—in the first mode individual points are captured each time a button is clicked; and in the second mode, a stream of individual points are captured from when a button is first pressed until it is pressed again. The second mode is commonly used for tracing out important feature lines, such as style lines or patch boundaries. In the case of a stripe sensor, instead of projecting a crosshair, it may only be necessary to project a second stripe at the same time as the main stripe. The crosshairs may be calibrated by the probe supplier using a three-axis computer controlled machine, a known calibration object, and standard image processing techniques.

[0125] The scanning apparatus 100 is operable to scan an object and thereby generate a computer model of the object's surface using an intermediate data structure for efficiently storing points on the surface of the object during scanning, creating an instance of the intermediate data structure for the particular object; and controlling the storage of the scanned points in the intermediate data structures during scanning with an operator control system.

[0126] Three examples of these intermediate data structures may be points or encoded stripes or range images.

[0127] Points have the disadvantage of being unorganized and much information obtained from the structure of the probe and the method of its use is lost if the 3D data is reduced to points.

[0128] In the case of stripe probes, much information may be retained to improve the speed and quality of construction of a model from intermediate data if an encoded stripe intermediate data structure is used. Such a structure stores data from one stripe at a time. The stripes are stored in the order of capture. The time of capture of each stripe is recorded. The orientation of the probe is recorded for each stripe. The raw data points from the stripe may be processed before storing in the data structure to determine jump and break flags and to sample or chordally tolerance the raw data points to reduce the size of the intermediate data structure without losing any significant information.

[0129] In the case of area probes, the advantages of a range image as an intermediate data structure are well known. These advantages include a data structure that relates well to the area based data capture method and the efficiency of storage in an image in which only Z values are stored.

[0130] An intermediate data structure can be used in which the surface of an object is described by means of a finite number of linear and cylindrical range images that are, to some extent, characterized by the shape of the object.

[0131] A linear range image 70 is illustrated with reference to FIG. 13. The range image 70 has a coordinate system U,V,W and a spacing of points dU in the U direction and dV in the V direction. The linear range image 70 contains in its header definition its relationship to the world coordinate system X,Y,Z, i.e., the arm coordinate system. In the disclosed invention, the linear range image 70 cannot store negative W values.

[0132] Cylindrical range images 71, 72 are described in FIGS. 14(a)-14(b). The range image has a coordinate system W,R,A where A is an angle. The spacing of points is dW in the W direction and dA in the A orientation. The cylindrical range images 71, 72 contain in their header definitions, their relationships to the world coordinate system X,Y,Z. In the disclosed invention, the cylindrical range images 71, 72 cannot store negative R values. The direction +R and position R=0 of a cylindrical range image defines whether the points stored are inside the range image, as in FIG. 14(a), or outside, as in FIG. 14(b).

[0133] Referring now to FIG. 15, the range image placing algorithm takes a scanned point and tries to place it into defined range images by projecting a ray along the normal to the range image 105. If the point has a negative value in a range image—for example, point 104—then it is not stored in that range image. If the point is outside the extent of that range image, it is not stored in the range image unless the range image is extensible—in which case, the algorithm extends the range image far enough to place the point. If a point already exists in the range image position in which the point is to be placed, then the two points are compared. If the distance between the two points in space is outside a tolerance d, such as the error of the scanner, then the nearest point 102 is stored and the furthest point 101 is rejected. If the two points are within the error of the scanner, then their values are averaged and the average value is stored.

[0134] The range image-placing algorithm is simple and quick, but it is indiscriminate, often placing points incorrectly in range images and relying upon them being overwritten by a nearer point. If the range image is very dense, but populated with few values, then up to half the points populated could be incorrect because the surface normal of the point is incorrect. This can restrict successful scanning to coarse range images.

[0135] The range image-placing algorithm is improved upon with the surface normal extension. The range image-placing algorithm does not have an estimate of the surface normal of the point to be placed. Also, it does not take into account the orientation of the probe when the stripe is captured. To improve the range image placing, the fact that most stripes are scanned in sequence and have near predecessor and near successor stripes is used. For example, as illustrated in FIG. 16, there are eight neighboring points 116 on a stripe 114 and on its predecessor 113 and successor 115. These can be used to approximate the surface normal of a point P before it is placed in a range image. Three sequentially scanned stripes 113, 114, 115 are shown on an object 111 and projected onto a range image 112 as stripes 113 a, 114 a, and 115 a. The point P, with coordinates Xp,Yp,Zp on stripe 114, has eight near neighbors 116 on the respective stripes 113, 114, 115 as described above, and an approximate surface normal Np with coordinates Ip,Jp,Kp. The probe orientation for stripe 114 is N_(S) with coordinates Is,Js,Ks. By calculating the surface normals N_(S), N_(P), and N_(R), where N_(R) is the normal of the range image 112, one is given a choice of two opposite surface normals. The correct one is the one that can be seen from the probe 3 orientation—assuming that the changes in probe orientation for the three stripes are not significant to the surface normal direction. If the surface normal N_(P) of a point P is found to be facing away from the surface normal N_(R), then the point is not placed on the range image. This surface normal extension eliminates the majority of incorrect point placements in range images. In a practical implementation, three stripes of points are buffered before the first stripe of points is placed in the range images. The normal extension in a modified form can also be used for the first and last stripes by using the two successive or two previous stripes. When the three stripes 113, 114, 115 are nearly coincident, perhaps because the arm is moving too slowly, then the accuracy of the surface normal estimate is low and the normal cannot be used. A different normal calculation can be made using any neighboring points already placed in the range image instead of the neighboring stripes. A further, normal extension to the range image placing algorithm combines both the stripe and the range image data to provide a better estimate of the surface normal. The calculations involved in these normal extensions can provide a bottleneck to the scanning process. The bottleneck can be overcome by using only two stripes, less samples (5 instead of 9) or a faster computer.

[0136] A number of range images that are positioned in the object coordinate system must be defined. The range images have specific mathematical definitions. Two basic types of range image are used—linear and cylindrical—as discussed above. A range image has direction and a zero position. The range image can only store points that are in front of its zero position. If there are two or more surfaces of the object in line with a point in the range image, then the surface that is nearest to the range image's zero position is represented in the range image. A range image can be constrained in size or unconstrained in size. The range image can be one image of fixed density or comprise a patchwork of a number of adjoining images of different densities. Each grid position in the range image is single-valued. The range image will typically use 4 bytes to store a depth value Z, from 1 to 4 bytes to store the gray scale or color value 1, and from 1 to 3 bytes to store the orientation N. This is illustrated with reference to FIG. 17, which illustrates how a single point is represented. The 3 bytes suggested for orientation N will not permit a very accurate orientation to be stored. More bytes could be used, but there is a trade-off between data storage size, processing time for converting floating number orientations to/from a compressed integer format, and accuracy. Range images will normally require from 5 to 11 bytes to store each point, depending on the operator's requirements. For comparison, 20 bytes are typically required to store an ASCII X,Y,Z value.

[0137] Now referring to FIG. 18, it is possible to define—for a finite object 9 of any shape—a finite number of range images of the above types that, for all practical purposes, enables any and every point on the external surface of the object 8 to be stored in one or more range images 81, 82, 83.

[0138] With objects with deep external features, such as the inside of an ear, it may not be possible or practical to scan all parts of the external surface, but it is possible to represent them theoretically.

[0139] The number and position of the range images used in the process are such that they are sufficient to be able to store enough of the surface of the object to enable a computer model of the desired accuracy and detail to be generated.

[0140] In a manual process, the number and position of all the range images may be defined by the operator before scanning. Alternatively, just one may be defined by the operator before scanning begins, followed by the definition of others at any point during scanning. The operator has a choice of several strategies. He can define range images and scan range one at a time. He can define a number of range images and scan simultaneously. He can define some range images and scan followed by defining more range images and then scanning. If a point is scanned that does not fit onto any defined range image, then it is rejected. Alternatively, such rejected points could be automatically saved for placing into any new range images that the operator may subsequently define.

[0141] A typical number of range images varies from 1 to 20. Some range images need only be very small in size—small enough to cover a part of the object that is otherwise hidden from recording on other range images. The density of each range image can vary. For instance, a large, smooth part of the object does not need a high point density; but a small, finely detailed ornament may require a high point density. Each range image has a direction.

[0142] The operator may select the most suitable set of predefined range images from a library of range image sets. He can then edit the set to suit his object. Each new set is then stored in the library. A set can be thought of as a set of templates. As an example, for a human form there could be a range image set consisting of five cylindrical range images for the limbs and the trunk, together with five linear range images for the top of the head/shoulders, hands, and feet. For a car, one cylindrical range image for the car's body and two linear range images at each end of the car could be enough. It is important to note that the axis of a cylindrical range image must lie within the object or part of the object being scanned.

[0143] A range image is manually defined by the operator by first selecting the appropriate range image type—cylindrical or linear—and second, placing the probe to give the desired position and orientation of the range image and selecting it using the operator control system. For a cylindrical range image, the probe could be positioned to first give the position and direction of the axis and then to give the maximum radius.

[0144] Now referring to FIG. 19, an inference method provided for updating range images from the other registered range images is also a novel method. The inference method progresses through each array position in the range image 121 that is to be updated. The inference algorithm can update positions that either have no value or have a value with a surface normal that is steeper than a given value, or have a less steep value, or any combination of these according to the operator's requirements. If a position in the range image 121 is to be updated, then that position is projected as a normal ray 126 onto all the other range images 120, 125, one at a time. If the ray intersects with another range image 120, then the local triangular surface element through which the ray first passes is located on the surface 123 and constructed. The value 124 at the intersection of the ray 126 and the triangular element 122 is then inferred and placed onto the range image being updated. If the ray intersects several range images 120, 125, then the inferred values from the range images are averaged after outliers have been removed. Outliers are removed by using a tolerance such as the error of the scanner. The original value (if it exists) in the range image 121 being updated, could be included in this outlier removal/averaging process.

[0145] The inference method is particularly used when an additional range image is added at a late stage in the scanning process or if range images are defined/scanned one at a time. The method enables surface areas that are nearly orthogonal to the range image, i.e., are almost vertical walls, to be well defined from data stored in the other range images. This provides a better set of points for carrying out the polygonization of one range image resulting in a more accurate polygonal network and simplifying the polygonization process.

[0146] The probe 3 provides data that is displayed on the display monitor 7 as a rendered polygonal surface 13 in real-time or with an acceptable delay such that the user can watch the display monitor 7 and use the feedback of the rendered surface to guide his movement of the probe 3. Real-time is defined in the context of visualization as an operation reacting with a delay small enough to be acceptable to an operator in normal use. The probe 3 could be a stripe probe or an area probe. Where the probe captures 3D and color information, then the color information can be mapped onto the 3D model to texture it, as discussed below.

[0147] The surface to be displayed is calculated for stripe probes one additional stripe at a time. Referring now to FIGS. 20(a)-20(g), as a stripe 301 is captured, it is converted using one of several commonly used methods into a finite string 303 of 3D points 302 a, 302 b and flags 304, 305 in the world coordinate system X,Y,Z using the previously obtained calibration and alignment data for the probe 3. The maximum number of points is usually equal to the number of rows 281 or the number of columns 282 in the CCD array 25, depending on the orientation of the CCD in the optical setup. This disclosure will refer to rows, but it can equally apply to columns or any other way of organizing the data recorded by the camera. Where the stripe crosses a row the position on the CCD array can usually be calculated to subpixel accuracy by one of several commonly used methods. If there is no data for one or more neighboring rows, such as missing positions 302 e, 302 f (not shown), then a “break” flag 304 is output into the string to indicate a break in the surface recorded. If there is a significant jump discontinuity in range above a maximum value that is appropriately set for the scanning resolution of the probe 3, such as between 302 j and 302 k, then a “jump” flag 205 is output into tile string of 3D points to indicate either a vertical wall relative to the probe orientation or an occluded surface. The string 303 is filtered to reduce the number of points while effectively transmitting most of the information. The object of filtering is to reduce the amount of data processed for surface rendering and hence increase the speed of the rendering process with a minimal degradation in the quality of the surface. The first method of filtering is to skip some of the stripes. Another method is to sample the rows, e.g., take every nth row. A third method is to chordal tolerance all the points in the stripe and discard the points that are surplus and within tolerance. Where computer speed is limited, the first and second filtering methods are preferred because of their simplicity and because the resulting regular grid of points produces regular polygons that look good on the display, as opposed to long thin polygons that might result from a chordal tolerancing process that can have rapidly changing surface normals if the data points are slightly noisy due to inaccuracies in the probe and the arm, and may present an unattractive “orange peel” effect on the display. The same process is repeated for a second stripe 306 capturing data points 307, resulting in a second string 308 of 3D values 307 a, 307 b, etc., and flags. A surface comprising triangular or quad polygons is then constructed between the two strings 303 and 308, resulting in a string of polygons 309. The string of polygons is then displayed by a renderer. The renderer may or may not take into account the previous polygons displayed, the viewpoint, and lighting model.

[0148] If color has been recorded for a polygon then the color information can be mapped onto the polygon. The precise mapping algorithm depends on the format of the raw color information, which depends on the design of the probe. The raw color information may comprise point, line, or area samples. The raw color information may be adjusted before mapping using calorimetric calibration and intensity calibration data. During the mapping process, the color information may be adjusted for the probe to polygon distance at point of color capture and polygon orientation to probe at point of capture. The basis for the adjustments is a set of calibration procedures carried out for each individual probe.

[0149] The viewpoint for the surface displayed can have a constant position, zoom, and orientation in the world coordinate system of the object such that, as the probe is moved, the surface displayed increases where the data is captured. The viewpoint is set before scanning starts, either with an input device (such as buttons) on the arm, foot pedals, a mouse, and a keyboard, or by using the probe to determine the viewpoint. Alternatively, the viewpoint can have a constant position, zoom, and orientation in the probe coordinate system such that, as the probe moves, the surface is completely re-rendered at regular intervals, each time with the new surface displayed where the data has been captured, with the regular intervals being at an acceptable real-time rate, such as 25 displays per second or less often. Alternatively, the viewpoint can have a constant position, zoom, and orientation in the world coordinate system where the surface displayed increases where the data is captured that is completely updated to that of the probe coordinate system on operator demand such as by the depressing of a button or foot pedal or at regular time intervals, such as every 10 seconds. The different methods for updating the viewpoint provide different advantages, depending on the size and type of the object being scanned and the speed of the computer in recalculating the surface display from a different viewpoint.

[0150] Referring again to FIG. 2, the display 7 can be mounted on the probe 3 such that the rendered surface 13, or other image displayed, moves with the probe movement. Referring now to FIG. 21, the display 7 could be mounted in front of the operator's eyes as part of a heads-up display 271, which may or may not also allow the operator 270 to see his real environment as well as the rendered surface 13, or it can be mounted elsewhere. In practical use, it is found that the operator watches the rendered surface 13 on the display 7 while scanning because this has the important advantage of ensuring that all the object is scanned. In some applications, such as scanning large objects or using a turntable to rotate the object, watching the display 7 as a large display monitor situated on a workbench can be advantageous. In other applications, such as scanning a spherical type object, a display screen on the probe 3 is advantageous because the operator moves with the probe. With sufficient quality in a heads-up display and with no negative effects such as feeling sick, a heads-up display may be best for nearly all applications because it is feeding back most directly to the operator.

[0151] Referring again to FIG. 2, it is already technically possible to integrate the display 7 with the probe 3 as, for instance, a color LCD screen is small, lightweight, realtime and flat, while having sufficient resolution to render the surface so that the operator can see what has and what has not been scanned. A display mounted on the probe could be tiltable in one or two axes relative to the probe. The ability to tilt the display relative to the probe can give the operator improved ability to scan in spaces with poor visual access. Buttons 6 on the probe can be used to navigate menus and select from menus.

[0152] As computing power becomes faster and more compact, it will be possible to encapsulate the computer 4 in the probe 3 as well as having the display 7 mounted on the probe. The probe might have memory 262, which could be both dynamic memory and magnetic memory, such as a CD-ROM or digital video disk (DVD). The probe might have a local power source 260, such as batteries. This would be the case with one or more remote position sensors 261 mounted inside the probe. Although one remote position sensor is sufficient, more accuracy is obtained by averaging the positions coming from three or more remote position sensors. Another benefit of three or more sensors is that when a spurious position is output by one or more sensors, this can be detected and the data ignored. Detection of incorrect positions is by means of comparing the positions output by the three sensors to their physical locations within the probe to see if the variation is larger than the combined, acceptable error of the sensors. Since remote position sensor technology is likely to remain much less accurate than multiply jointed arm technology, it is preferable that probes with remote sensors use array scanning means rather than stripe scanning means. With a single array scan, all the data in the array (i.e., a range image) is accurately registered to each other, but with stripes there are position errors been any two sequential stripes. It is possible to use an iterative close point (ICP) algorithm on overlapping range images to substantially reduce the errors caused by the remote position sensors; but this is not possible with stripes.

[0153] A number of different technologies exist for area probes including binary stereo, photometric stereo, texture gradients, range from focus, range from motion, time of flight, Moire interferometric, and patterned structured light systems. The most common systems in use in industrial applications are time of flight, Moire, and patterned structured light. Different area probe technologies have different advantages and disadvantages for manual scanning.

[0154] Time of flight systems use a modulated laser spot to measure a scene by the phase shift between outgoing and reflected beams, which is proportional to the range of the object point. A complete range image is captured by scanning the whole region of interest. For a small area, this technique is advantageous since it is line of sight, although the accuracy is generally of the order of 1-2 mm unless multiple measurements are taken at each point, thus reducing scanning speed significantly. It is thus too slow.

[0155] Moire systems use gratings in front of projection and viewing optics to produce an interference pattern that varies according to local changes in height on the object. Absolute measurements and measurements across discontinuities are only possible by taking several measurements with different grating configurations or from different project angles. For relative height measurement, these systems offer high accuracy. It is thus too problematic to obtain absolute measurements.

[0156] A depth from focus range area sensor has recently been demonstrated that allows the real-time determination of range from pairs of single images from synchronized cameras, albeit with the use of relatively complex hardware. It is thus too complex to use at this point in the development of the technology.

[0157] Referring now to FIG. 29(b), patterned structured light systems come in many families and rely on projection of a light pattern and viewing off-axis from the projection angle. Synchronously scanned laser triangulation probes can be raster scanned over a 2D area. A laser stripe triangulation line can be scanned in one direction to produce area measurements. Scanning can be mechanical or electronic. Multiple laser or light stripes 363 can also be simultaneously projected over an object to obtain the same effect as a scanned stripe, but this has the disadvantage that, in a single image it is not possible to differentiate between the stripes. To overcome this problem, a number of systems use a gray-coded sequence of binary stripe patterns that solves the ambiguity problem. However, the sensor should remain stationary during the capture process. An alternative solution is the projection of color-coded light stripes that allow the unambiguous determination of range, even with depth discontinuities from a single image. Note that the simultaneous use of a number of stripes is herein classified as an area technique and not a stripe technique.

[0158] The simultaneous projection of color-coded light stripes overcomes the disadvantages of the previously described systems and is the preferred area embodiment of this invention. Each stripe is one color. Each color may be a discrete wavelength, such as provided by a number of different laser diodes or a subset of a spectrum range of color generated from a white light source. Either all of the colors may be unique or a small number of colors may repeat. The repetition of a small number of colors can lead to ambiguity if stripes of the same colors are not sufficiently separated.

[0159] The probe encapsulation would have advantages in terms of cost reduction and complete flexibility in freedom of use because even cables may not be required and the only limits would be the range and accuracy of the remote position sensor.

[0160] If an arm is being used as the position sensor, the probe with a display mounted on it might receive its power along a cable that may follow the path of the arm, and the computer may be situated in the base of the arm, which would reduce the weight of the probe and reduce operator fatigue.

[0161] Referring again to FIG. 21, if a heads-up display 271 is being used, the probe 3 with one or more remote position sensors 261 could be mounted on the operator's head 270 with fixing means 272 to produce a head-mounted scanning system 274. This would lead to hands-free scanning, although some method of navigating menus, e.g., verbally with speech recognition by means of a microphone 273 or via buttons would be important in practice. It is likely that the standoff from the probe to the object using a head-mounted scanning system 274 would be quite large, for example, 250 mm, but it could be more or less.

[0162] There are several ways of automatically polygonizing intermediate data to form a 3D polygonal model. Two ways are described—strip polygonization and range image polygonization.

[0163] The strip polygonization of intermediate data to automatically create a polygonal model is described for a stripe scanner. The following description is by means of an example and comprises the following steps:

[0164] 1. Take the intermediate data in the order in which it is scanned, including the probe orientation for each stripe. For a stripe probe, this will typically consist of a number of neighboring stripes with occasional discontinuities, such as when the scanning process is paused or a turntable is turned or the direction of scanning is reversed. The intermediate data is preferably in an encoded stripe form as described above.

[0165] 2. Group the data into stripes of similar probe orientations and no discontinuities. An acceptable variation of the probe orientation in a group of data may be ten degrees. The average normal for each set of stripes is specified. A new group is started each time a discontinuity appears or when the probe orientation varies unacceptably.

[0166] 3. If not already done in the intermediate data, filter the stripes in each group using a chordal tolerancing routine to reduce the quantity of points and maintain the positions of the break and jump flags.

[0167] 4. Use a 2.5D polygonization method to polygonize each group. This will result in a number of 2.5D polygonal meshes. There may be holes in any of the meshes. The method eliminates occluded surfaces behind surfaces resulting from variations in the probe orientation within the group.

[0168] 5. Use a polygon mesh integration method such as an implicit surface method to integrate the 2.5D polygonal meshes into a computer model comprising one or more 3D polygonal meshes.

[0169] 6. If required, use the known base plane of the object specified during the scanning setup to automatically close the bottom of the model where the object could not be scanned because it was resting on a table or turntable.

[0170] 7. If required, use a general closing function to automatically close all holes in the model.

[0171] 8. If required, use a smoothing function set such that features created by known levels of inaccuracy in the 3D scanning process are smoothed out and features greater in size than the inaccuracy of the system are maintained.

[0172] 9. Convert the internal polygon format into an output file of a commonly used polygon file format, such as DXF.

[0173] The range image polygonization of intermediate data to automatically create a polygonal model is similar to strip polygonization. Each range image is effectively a group of stripes with the same surface normal. Steps 1 and 2 above are, therefore, not needed. There are two ways of carrying out the equivalent of step 3 above. Range image data may be chordal toleranced as a series of stripes as described in step 3, and the polygonization process continued with steps 4 to 9, as required. In the second way, given the greater structure of a range image over a group of stripes, steps 3 and 4 may be combined and a range image tolerancing algorithm combined with a 2.5D polygonization algorithm and the polygonization process continued with steps 5 to 9, as required.

[0174] Area scanners usually output range images. In general, range image polygonization is better suited to area scanners and strip polygonization is better suited to stripe scanners. If the intermediate data structure is range images then the range image polygonization will work whether each range image relates to a particular data capture instant or is part of a defined range image structure that is characterized by the shape of the object.

[0175] The combining of color data onto the 3D model is known as texture mapping.

[0176] Before raw color data in the form of color images can be texture mapped onto the 3D model, it must first be corrected by means of various calibrations.

[0177] An important calibration is the geometric calibration of the color camera and finding the alignment transform of the color camera to the calibrated 3D measurement system in the probe. Without these calibrations/alignments, neighboring color samples when mapped together will produce visible errors. The objective of these calibrations is to get the geometric errors much smaller than those of the arm accuracy. The first geometric calibration is to take out lens distortion. Standard means are used for this based on imaging geometric objects of known size and extracting pixel coordinates using standard image processing techniques. The second is to create the camera model. A simple pinhole model can be used or a more complex model. Standard means are used for this based on imaging geometric objects of known size from different distances and extracting pixel coordinates using standard image processing techniques. The third is generating the alignment transform. A method has been developed based on 3D and color imaging geometric objects of known size using the probe. For all three methods, a three-axis computer controlled machine is used to ensure precise distances. The probe engineering must be geometrically stable enough such that this transform will only be recalculated rarely such as after the probe has been dropped or damaged.

[0178] Much of the effect of distance from the probe to the object on recorded light intensity can be calibrated out. A diffuse, flat, white surface is imaged normal to the camera axis at a number of different distances from the probe to the surface. The distances are chosen to cover the whole scanning range from closest point to furthest point. The variations in mean intensity recorded in the camera are used to calibrate the probe with distance. This calibration data is used to correct the color data recorded when scanning an object such that all color data is corrected to a known distance equivalent.

[0179] Much of the effect of tilt of the surface from the camera axis on the color quality can be removed, but the effectiveness of this depends on at least the surface reflectance for each color. A diffuse, flat, white surface is imaged at various angles to the camera axis at a fixed distance from the probe to the surface. The angles are chosen to the point at which there is significant deviation from the Lambertian model. The variations in mean intensity recorded in the camera are used to calibrate the probe intensity with relative surface angle to the probe. This calibration data is used to correct the color data recorded when scanning an object such that all color data is corrected to a normal equivalent.

[0180] A standard calorimetric calibration is carried out using reference colors, such as Macbeth charts that are mounted normal to the color camera axis at a known distance from the probe. Corrections are made to a commonly used color standard, such as to the CIE. Individual pixels in the camera may be color- and intensity-corrected.

[0181] Some of the above calibrations vary little among probes manufactured to the same design. This is probably due to tight manufacturing tolerances. The calibration information can be incorporated into the software as, for example, constants or tables or equations for the probe design. Others calibrations are carried out once on the setup of each probe after manufacture. Other calibrations could be carried out each time the scanning system is used—for example, the scanning of a white surface at a known distance will set the lamp intensity relative to the intensity when the bulbs were new.

[0182] Referring now to FIG. 22, there are several methods of mapping color images 320 onto the 3D model 324 to form texture maps. Surface elements on the 3D model may be flat polygons or elements of a high-level surface form. A mapping method for color images is:

[0183] 1. Each color image 320 is corrected using calibration and geometric data.

[0184] 2. For each surface element 321, the color image whose normal 323 is closest in orientation to the normal 322 of the surface element 321 is selected (the master image) and the texture map coordinates for that surface element go to the mapping of that surface element onto that master image. The closest image normal is that of 320 a in this case.

[0185] 3. The other color images that map onto the surface element are then processed. If the surface normal difference between the surface element and a color image is above a certain tolerance, then that image is ignored. This is because the color quality obtained in the image degrades significantly as the surface orientation of the object relative to the image becomes very steep. The part of the master image on which the surface element maps is then improved by a weighted average of all the color image mapped parts. The basis of the weighting is the cosine of the difference in surface normal between the surface element and the color image.

[0186] The apparatus and methods disclosed above each singly produce an improved color “copy” of the 3D model and a significant commercial advantage.

[0187] Ways of improving the scanning timing and consequently reducing geometrical errors are disclosed.

[0188] Where no electrical triggering is possible, to reduce the inaccuracy caused by the time difference between the recording of the arm position and the capturing of the frame, the following method is employed:

[0189] 1. With reference now to FIG. 23, the arm position before the frame is captured B is recorded and the time t1 of this is recorded.

[0190] 2. A frame is requested.

[0191] 3. When the frame has been captured C, the time t2 is recorded. There is a known delay T/2 with little variability from the middle of the frame capture to this time t2, which is largely dependent on the shutter time open T.

[0192] 4. The arm position after A is recorded and the time t3 of this is recorded.

[0193] 5. The arm position in the middle of the frame is estimated by interpolating in six degrees of freedom between the two arm positions B,A using the time (t2−T/2) at the middle of the frame capture as the interpolation weighting between t1 and t3.

[0194] 6. In the case of a long interrupt, if the difference between t1 and t3 is significantly large, then the data is deleted.

[0195] This interpolation method can increase the accuracy of a non-triggered system by a large amount and is extremely significant in the quest to obtain geometrically accurate data.

[0196] In addition, the operating system under which the interpolation software runs may be set to prioritize the interpolation software as high priority so that the introduction of delays due to other software being executed is minimized. Even if another software function interrupts this process, the validity of the process is not impaired unless the interrupting process is of extraordinarily long duration. Prioritization is not essential, but will contribute to reduced timing error where prioritizing is available in the operating system.

[0197] In the case where triggering is possible, there are many methods of carrying it out. One method is, with reference now to FIG. 24, that the synchronization signal 240 from a CCD camera 25 is stripped off by electronic circuitry 241, and a relay 242 is used to generate a series of trigger pulses 243 to the arm computer 2. This has the advantage of eliminating both the arm and camera variabilities and increasing the accuracy of the scanning as much as possible for a given arm and camera.

[0198] The operator interface means alone—not including the standard computer means such as mouse and keyboard—can be used to control the scanning and computer model generation process and the functionality of the options that can be actuated. The operator interface means include means for navigating menus such as buttons, foot pedals, joysticks, trackballs, and the position-sensing means—arm or remote position sensor.

[0199] Using any of the above means, the operator can simply select the required operations and operating parameters, which could include, for example, being able to:

[0200] Setup Scanning Apparatus

[0201] Select which position-sensing device is being used, i.e., arm.

[0202] Align the probe to the position-sensing device; align the turntable.

[0203] Set the sampling of the points, i.e., sampling step or chordal tolerance

[0204] Set when data thrown away because arm is moving too fast;

[0205] Data Collection

[0206] Pre-scan object to find out where it is.

[0207] Collect data points continuously, while that option is selected, for example.

[0208] Collect one set of points such as a stripe section.

[0209] Collect sets of data points at pre-determined intervals of position.

[0210] Collect contact reference points.

[0211] Pause and re-start data collection.

[0212] Collect Color Images.

[0213] Process

[0214] Generate polygonal or surface model from intermediate data.

[0215] Generate model in selected output format, e.g., 3DS, OBJ.

[0216] Map color images onto model.

[0217] Blend overlapping color images on model.

[0218] Close holes in polygon mesh.

[0219] Slice polygon mesh.

[0220] Smooth polygon mesh.

[0221] Decimate polygon mesh.

[0222] Flip normals in polygon mesh.

[0223] Change datum and orientation of coordinate system.

[0224] Edit

[0225] select/cut/paste/delete points

[0226] select/cut/paste/delete polygons

[0227] select/cut/paste/delete color images

[0228] Test

[0229] Check the performance of the system by processing data from scanning a sphere.

[0230] Check the performance of the system by processing data from scanning a flat surface.

[0231] Display

[0232] Display points in rendered color according to depth.

[0233] Redraw the computer display from the position and orientation of the probe.

[0234] Select the field of view of the redraw, i.e., from zoom to wide angle.

[0235] Select a viewpoint from list of preset viewpoints.

[0236] Display rendered data in one color.

[0237] Display rendered data using the scanned color data.

[0238] Display the computer model generated from polygons or complex surfaces.

[0239] Model Data

[0240] Save the points/intermediate data/model onto a storage medium such as a hard disk.

[0241] Publish the intermediate data/computer model as an object, such as an object that may be automatically available to another software package on the computer or over a network.

[0242] Load the points/intermediate data model from a storage medium, such as a hard disk.

[0243] Range Image

[0244] Create a new linear range image using the position and orientation of the probe when the option is selected.

[0245] Create a new cylindrical range image using the position and orientation of the probe when the option is selected.

[0246] Select one of the defined range images from all the defined range images.

[0247] Change the density of that range image.

[0248] Delete the selected range images.

[0249] Delete all range images.

[0250] Select a set of range images from a library of range image sets. Library range image sets could be mathematically organized, e.g., precisely orthogonal to each other, which may have advantages in some uses of the scanned data.

[0251] Add the selected library set to the currently defined range images.

[0252] Creating a new library set from the existing combination of range images. In this way, if several similar objects are to be scanned, the optimum range image combination can be set for the first one and automatically reused on the others.

[0253] Setting the selected library set as the default library set. In this way, for instance, a default library set of six range images that form a cube may be used for many objects, such that the process of range image definition is not needed, making the total scanning process quicker.

[0254] Delete all current data points in all range images.

[0255] Delete all the data points in the selected range image only.

[0256] Display points from the selected range image only.

[0257] Display points from all range images.

[0258] Display points with different colors for each range image.

[0259] Update all range images from all the other range images by a process of trying to fill in gaps or check entries in one range image by studying the others.

[0260] Update the selected range image from all the other range images by an inference process of trying to fill in gaps or check entries in one range image by studying the others. This is particularly useful when a new range image is defined after a lot of scanning has taken place.

[0261] Constrain the size of a range image. This is often done when a range image is defined specially to capture a small part of the surface of the object that is not covered by the other range images. This can be done to save memory on a computer with limited memory and can also speed up the whole process

[0262] Choose and initiate an algorithm for automatically constructing a model of polygons or complex surfaces from one range image.

[0263] Choose and initiate an algorithm for automatically constructing a model of polygons or complex surfaces from all the range images.

[0264] Set the parameters, such as the degree of accuracy, by which an algorithm constructs a model of polygons or complex surfaces.

[0265] Select an integration algorithm that combines the polygon models that have been generated from the range images.

[0266] Select a predefined sequence of algorithms that automatically generates a complete model of polygons or complex surfaces from a set of range images.

[0267] Complex surfaces can be created from marked surface patch boundaries. Referring now to FIG. 25, the object 130 is painted a uniform color (if necessary) before marking the patch boundaries 131 by hand in another color, e.g., using a black marker pen on a white object. It is not important to mark these boundaries accurately, as they usually lie away from features such as edges or rapid changes in surface normal. The object is then scanned in using one of the methods disclosed. The color information is then used to automatically generate the patch boundaries by means of an algorithm that separates out the points 132 lying on the patch boundaries by means of a color filter and then fits patch boundary lines such as splines 133 to these points. The edges may also be detected using a separate algorithm. The patch boundaries that have been automatically created from the scan can then be used to create the complex surface model. The main benefit of this method is that it is easier to mark patch boundaries on the object than on the computer model prior to the automatic creation of the complex surface model. Referring now to FIG. 26(a), an important implementation 333 of the invention is disclosed in which the multiply-jointed arm 1 is mounted on the end of the horizontal arm of the horizontal arm measuring machine 330 for scanning a large object 331. The horizontal arm measuring machine 330 has a machine control box 332 that outputs the position of the machine to the computer 4. The arm control 2 and the probe 3 are also connected to the computer 4. This implementation makes the scanning of large objects more precise in that either a large arm or leapfrogging would be less accurate than a horizontal arm, and simpler in that each time the horizontal arm is moved, the software takes it into account automatically rather than needing to reregister using a leapfrogging method. In industry, firms that have large objects, such as automotive manufacturers, usually have horizontal arm machines so this makes the implementation particularly attractive.

[0268] Referring now to FIG. 26(b), firms that have large objects, such as automotive manufacturers, often have two horizontal arm machines situated opposing each other, both of which can reference to the same object coordinate system. In this case, the whole of the object may be scanned by scanning part of the object with the probe fitted to the first horizontal arm machine and the rest of the object with the probe fitted to the second horizontal arm machine.

[0269] This invention is a general 3D model-making device and has wide-ranging applicability. The application industries for this invention include design stylists who need to turn clay objects into computer models quickly and accurately; games developers and animators who need to convert new characters into 3D data sets for animation; shoe manufacturers who need to make custom shoes; automotive manufacturers who need to model the actual cable and pipe runs in confined spaces; and medical applications that include radiotherapy and wound treatment. Altogether, some 200 applications have been identified for this invention.

[0270] Referring now to FIG. 27, as an example of the applications for the scanning apparatus 100 in accordance with the invention, the scanning apparatus 100 can be used to scan a human foot 141 with full body weight on it on surfaces of different resilience is also disclosed. The outside of the foot 141 is first scanned using the methods and devices disclosed above with the required amount of body weight being exerted. The foot 141 is then removed and a second scan is carried out of the surface 142 on which the foot 141 was pressed. The first scan is a positive. The second scan is a negative. The surface normals of the second scan are then reversed by means of a simple algorithm and the two scans combined to give the positive shape of the foot. It is important that if a deformable material is used that it does not spring back. Such a material might be sand, clay, or plaster. Materials of different resilience may be appropriate for different applications. This method is also appropriate when the foot is pressed onto the lower half of a shoe with the sides cut away.

[0271] There is a need by automobile manufacturers to identify the actual route of pipes and cables in confined areas, such as an engine department. Automobile manufacturers are trying to model in 3D CAD all aspects of a car. They need some way of scanning pipes and cables in the car reference system so that high level 3D models of the pipes and cables are output that can be introduced into the CAD system for identifying actual routing and potential interferences. In the scanning of pipes and cables, for instance, in confined spaces, if there is a problem with black or shiny items not being scannable, these can be first dusted with a white powder that is easily removed after scanning.

[0272] Referring now to FIG. 28(a), it is often better to scan a cable or pipe 341 as a number of stripe sections 342 to 349, rather than as a large number of densely spaced stripes. A stripe sensor can be activated in a first mode to take a single stripe section by the operator activating a button or footpedal. In this way, the operator can take a small number of sections to describe the path of the pipe using his expertise to decide when to take sections. For instance, where a pipe joins another pipe, it may be appropriate to capture many more stripe sections 344 to 349. Also, where there is a feature such as a fixing on a pipe, it may be appropriate to capture very dense stripes. A second mode would be capturing stripe sections as fast as the sensor can capture them and displaying them as a surface on the display. A third mode would be a mode in which the operator specifies the distance between the sections, e.g., 5 mm, and the system automatically takes a stripe section every, e.g., 5 mm that the stripe travels in 3D space. One method of determining this distance is to select the point at the average standoff distance in the middle of the stripe, i.e., the center point of the measuring range, and when this point has moved 5 mm, to automatically capture another stripe section. When the operator is scanning pipes and cables, the operator control system should support the simple switching between the three modes.

[0273] The intermediate data structure in which the stripe sections are collated could be the standard stripe section structure 303, but includes the changes in mode and the orientation of the probe for each section. In scanning pipes and cables, panel sections along which the pipes and cables run are also captured 342 a, 342 d. Where there is no contact between the pipe and the panel, there is a jump or break in the stripe section. These can be flagged in the data structure with jump flags 305 and break flags 304.

[0274] To be useful to an automobile manufacturer, a high level model should be created and output from this data. A polygonization or surfacing method joins the sections together and can handle the joining of pipes, panels, etc. The result is high level models 350 to 352. If more information is known about the pipe or cable, such as its section if it is constant or its form even if the form's dimensions change, e.g., circular but varying diameter, the model 351 can be automatically expanded to 353. Alternatively, two scanned sides of the same pipe can be automatically joined. This gives the automobile manufacturer the high level model that he needs.

[0275] As will be understood to persons skilled in the art, there are various modifications within the scope of the present invention. For example, the color camera does not need to be included. A single camera could be utilized for both color and position sensing. The fitter in the probe could be a narrow band pass filter or a red high band pass filter, as required. The system is adaptable to many types of model generation not just those discussed herein. The data collected by the probe could be used for other applications and could be stored for dissemination elsewhere—for example, by electronic mail. The probe can be a stripe or an area probe. The display can be mounted anywhere depending upon the application requirements.

[0276] While the preferred embodiment of the invention has been illustrated and described, it will be appreciated that various changes can be made therein without departing from the spirit and scope of the invention. 

The embodiments of the invention in which an exclusive property or privilege is claimed are defined as follows:
 1. Scanning apparatus for scanning an object having a surface to generate a three-dimensional computer model thereof, comprising: a scanner for movement by an operator to scan the object to capture data from a plurality of points on the surface of the object by irradiating the object and detecting radiation reflected from the object surface as the scanner is moved to different positions; a position detector for determining the position of the scanner; a modeler for processing data from the scanner and the position detector to generate the three-dimensional computer model of the object; and a display processor for processing data from the scanner and the position detector to generate in substantially real-time rendered polygon image data representing an evolving representation of the object for display to the operator on a display as the object is scanned by the operator; wherein the display processor is operable to: process the data from the scanner and the position detector to generate a plurality of polygon meshes, each respective mesh containing points in three-dimensional space representing points on the surface of the object; align the polygon meshes in dependence upon a plurality of points in different respective meshes; and render the aligned polygon meshes to generate the rendered polygon image data.
 2. Apparatus according to claim 1, wherein the display processor is operable to perform data reduction to produce reduced data and to generate the rendered polygon image data using the reduced data.
 3. Apparatus according to claim 1, wherein the scanner has a position and an orientation, and wherein the display processor is operable to generate the rendered polygon image data to produce the representation from a viewpoint determined by the position and orientation of the scanner.
 4. Apparatus according to claim 1, wherein the modeler is operable to generate the model as a plurality of polygons organized in one or more meshes.
 5. Apparatus according to claim 4, wherein the modeler is operable to generate the model by grouping the data into data sets in dependence upon scanning orientation, to filter the data sets to produce filtered data sets, to derive a plurality of polygon meshes using the filtered data sets, and to integrate the meshes.
 6. Apparatus according to claim 1, wherein the modeler is operable to generate the model as one or more surface patches.
 7. Apparatus according to claim 1, further comprising a controller for generating control menus for display on the display, and for controlling the apparatus in response to operator selections from displayed menus, wherein the apparatus is operable to allow navigation of the menus by movement of the scanner by the operator.
 8. Apparatus according to claim 1, wherein the position detector includes a multiply jointed arm for carrying the scanner during use, and a processor for calculating the position of the scanner on the basis of angles between joints in the arm.
 9. Apparatus according to claim 1, wherein the position detector comprises a remote position sensor.
 10. Apparatus according to claim 1, wherein the position detector includes a horizontal arm machine for carrying the scanner during use.
 11. Apparatus according to claim 1, wherein the scanner is operable as a stripe probe.
 12. Apparatus according to claim 1, wherein the scanner is operable as an area probe.
 13. Apparatus according to claim 1, further comprising a color detector for detecting colors of the surface of the object, and wherein the display processor is operable to process data from the color detector and to generate the rendered polygon image data with color textures.
 14. Apparatus according to claim 1, further comprising a display for displaying the evolving representation of the object to the operator as the object is scanned.
 15. Processing apparatus, comprising a real-time image data generator operable to receive and process signals detected by a scanner as it is moved by an operator to different positions representing radiation reflected from a plurality of points on an object surface and signals conveying the position of the scanner, to generate in substantially real-time rendered polygon image data representing an evolving representation of the object for display to the operator of the scanner, wherein the real-time image data generator comprises: a polygon mesh generator operable to process the signals from the scanner and the signals conveying the position of the scanner to generate a plurality of polygon meshes, each respective mesh containing points in three-dimensional space representing points on the surface of the object; a polygon mesh aligner operable to align the polygon meshes in dependence upon a plurality of points in different respective meshes; and a renderer operable to render the aligned polygon meshes to generate the rendered polygon image data.
 16. Processing apparatus according to claim 15, operable to perform data reduction on the signals to produce reduced data and to generate the rendered polygon image data using the reduced data.
 17. Processing apparatus according to claim 15, wherein the processor is further operable to process the signals to generate a three-dimensional computer model of the object.
 18. Processing apparatus according to claim 17, wherein the processor is operable to generate the model as a plurality of polygons organized in one or more meshes.
 19. Processing apparatus according to claim 18, wherein the processor is operable to generate the model by processing the signals to form data sets in dependence upon scanning direction, to filter the data sets to produce filtered data sets, to derive a plurality of polygon meshes using the filtered data sets, and to integrate the meshes.
 20. Processing apparatus according to claim 17, wherein the processor is operable to generate the model as one or more surface patches.
 21. Processing apparatus according to claim 15, wherein the processor is further operable to process data relating to the object surface color to generate the rendered polygon image data with color textures.
 22. A method of scanning an object having a surface to generate a three-dimensional computer model thereof, comprising: an operator moving a scanner over the object surface to capture data from a plurality of points on the surface by irradiating the object and detecting radiation reflected from the surface as the scanner is moved to different positions; generating signals conveying the position of the scanner; processing data from the scanner and the signals conveying the position of the scanner to generate the three-dimensional computer model of the object; processing data from the scanner and the signals conveying the position of the scanner to generate in substantially real-time rendered polygon image data representing an evolving representation of the object; and displaying the evolving representation of the object to the operator as the object is scanned; wherein the rendered polygon image data is generated in substantially real-time by: processing the data from the scanner and the signals conveying the position of the scanner to generate a plurality of polygon meshes, each respective mesh containing points in three-dimensional space representing points on the surface of the object; aligning the polygon meshes in dependence upon a plurality of points in different respective meshes; and rendering the aligned polygon meshes to generate the rendered polygon image data.
 23. A method according to claim 22, wherein data reduction is performed to produce reduced data and the rendered polygon image data is generated using the reduced data.
 24. A method according to claim 22, wherein the scanner has a position and an orientation, and the rendered polygon image data is generated to produce the representation from a viewpoint determined by the position and orientation of the scanner.
 25. A method according to claim 22, wherein the model is generated as a plurality of polygons organized in one or more meshes.
 26. A method according to claim 25, wherein the model is generated by grouping the data into data sets in dependence upon scanning orientation, filtering the data sets to produce filtered data sets, deriving a plurality of polygon meshes using the filtered data sets, and integrating the meshes.
 27. A method according to claim 22, wherein the model is generated as one or more surface patches.
 28. A method according to claim 22, further comprising the steps of generating control menus, displaying the control menus on the display, and controlling the apparatus in response to operator selections from displayed menus, wherein the menus are navigated by movement of the scanner by the operator.
 29. A method according to claim 22, wherein the scanner is mounted on a multiply jointed arm and the signals conveying the position of the scanner are generated on the basis of angles between joints in the arm.
 30. A method according to claim 22, wherein the signals conveying the position of the scanner are generated on the basis of remote position sensing of the scanner.
 31. A method according to claim 22, wherein the signals conveying the position of the scanner are generated from a horizontal arm machine, on which the scanner is mounted.
 32. A method according to claim 22, wherein the scanner irradiates the object surface with a stripe.
 33. A method according to claim 22, wherein the scanner irradiates the object surface with an area.
 34. A method according to claim 22, further comprising the step of detecting the object surface color, and wherein the rendered polygon image data is generated with color textures.
 35. A method according to claim 22, further comprising the step of generating a signal conveying data defining the model.
 36. A method according to claim 35, further comprising the step of recording the signal.
 37. A method according to claim 35, further comprising the step of using the signal to display an image of the object.
 38. A processing method, comprising processing signals representing radiation reflected from a plurality of points on an object surface and detected by a scanner as it is moved by an operator to different positions and signals conveying the position of the scanner, to generate in substantially real-time rendered polygon image data representing an evolving representation of the object for display to the operator of the scanner; wherein the rendered polygon image data is generated in substantially real-time by: processing the data from the scanner and the signals conveying the position of the scanner to generate a plurality of polygon meshes, each respective mesh containing points in three-dimensional space representing points on the surface of the object; aligning the polygon meshes in dependence upon a plurality of points in different respective meshes; and rendering the aligned polygon meshes to generate the rendered polygon image data.
 39. A method according to claim 38, wherein data reduction is performed to produce reduced data and the rendered polygon image data is generated using the reduced data.
 40. A method according to claim 38, further comprising the step of processing the signals to generate a three-dimensional computer model of the object.
 41. A method according to claim 40, wherein the model is generated as a plurality of polygons organized in one or more meshes.
 42. A method according to claim 41, wherein the model is generated by processing the signals to form data sets in dependence upon scanning direction, filtering the data sets to produce filtered data sets, deriving a plurality of polygon meshes using the filtered data sets, and integrating the meshes.
 43. A method according to claim 40, wherein the model is generated as one or more surface patches.
 44. A method according to claim 38, further comprising the step of processing signals defining the object surface color, and wherein the rendered polygon image data is generated with color textures.
 45. Scanning apparatus for scanning an object having a surface, comprising: a scanner for movement by an operator to scan the object to capture data from a plurality of points on the surface of the object by irradiating the object and detecting radiation reflected from the object surface as the scanner is moved to different positions; a position detector for determining the position of the scanner; and a display processor for processing data from the scanner and the position detector to generate in substantially real-time rendered polygon image data representing an evolving representation of the object for display to the operator on a display as the object is scanned by the operator; wherein the display processor is operable to: process the data from the scanner and the position detector to generate a plurality of polygon meshes, each respective mesh containing points in three-dimensional space representing points on the surface of the object; align the polygon meshes in dependence upon a plurality of points in different respective meshes; and render the aligned polygon meshes to generate the rendered polygon image data.
 46. Apparatus according to claim 45, wherein the display processor is operable to align the polygon meshes in dependence upon the positions of closest points in different respective meshes.
 47. A method of scanning an object having a surface, comprising: an operator guiding a scanner over the object surface to capture data from a plurality of points on the surface by irradiating the object and detecting radiation reflected from the surface as the scanner is moved to different positions; generating signals conveying the position of the scanner; processing data from the scanner and the signals conveying the position of the scanner to generate in substantially real-time rendered polygon image data representing an evolving representation of the object; and displaying the evolving representation of the object to the operator as the object is scanned; wherein the rendered polygon image data is generated in substantially real-time by: processing the data from the scanner and the signals conveying the position of the scanner to generate a plurality of polygon meshes, each respective mesh containing points in three-dimensional space representing points on the surface of the object; aligning the polygon meshes in dependence upon a plurality of points in different respective meshes; and rendering the aligned polygon meshes to generate the rendered polygon image data.
 48. A method according to claim 47, wherein the polygon meshes are aligned in dependence upon the positions of closest points in different respective meshes.
 49. A computer-readable medium having computer executable instructions which, when executed, cause a programmable processing apparatus to perform the processing operations of: (i) processing signals representing radiation reflected from a plurality of points on an object surface and detected by a scanner as it is moved by an operator to different positions and processing signals conveying the position of the scanner to generate a plurality of polygon meshes, each respective mesh containing points in the three-dimensional space representing points on the surface of the object; (ii) aligning the polygon meshes in dependence upon a plurality of points in different respective meshes; and (iii) rendering the aligned polygon meshes so as to generate in substantially real-time rendered polygon image data representing an evolving representation of the object for display to the operator of the scanner.
 50. The computer-readable medium of claim 49, wherein the computer executable instructions are arranged to cause the programmable processing apparatus to perform the step of performing data reduction to produce reduced data and to generate the rendered polygon image data using the reduced data.
 51. The computer-readable medium of claim 49, wherein the computer executable instructions are arranged to cause the programmable processing apparatus to perform the step of processing the signals to generate a three-dimensional computer model of the object.
 52. The computer-readable medium of claim 51, wherein the computer executable instructions are arranged to cause the programmable processing apparatus to generate the three-dimensional computer model as a plurality of polygons organized in one or more meshes.
 53. The computer-readable medium of claim 52, wherein the computer executable instructions are arranged to cause the programmable processing apparatus to generate the three-dimensional computer model by processing the signals to form data sets in dependence upon scanning direction, filtering the data sets to produce filtered data sets, deriving a plurality of polygon meshes using the filtered data sets, and integrating the meshes.
 54. The computer-readable medium of claim 51, wherein the computer executable instructions are arranged to cause the programmable processing apparatus to generate the three-dimensional computer model as one or more surface patches.
 55. The computer-readable medium of claim 49, wherein the computer executable instructions are arranged to cause the programmable processing apparatus to perform the step of processing signals defining the object surface color, and generating the rendered polygon image data with color textures.
 56. The computer-readable medium of claim 49, wherein the computer executable instructions are arranged to cause the programmable processing apparatus to perform the processing to align the polygon meshes by aligning the meshes in dependence upon the positions of closest points in different respective meshes.
 57. Apparatus for scanning an object having a surface to produce data defining a three-dimensional computer model thereof and texture data for rendering onto the computer model, the apparatus comprising: (a) a scanner for movement by an operator which comprises: (i) a laser arranged to emit laser light onto the object surface; (ii) a detector to detect laser light reflected from the object surface; (iii) a light source arranged to emit illumination light onto the object surface; and (iv) a detector to detect illumination light reflected from the object surface; wherein: (i) the light source is arranged to substantially surround the detector which detects the illumination light; and (ii) the laser, the detector which detects the laser light, the light source and the detector which detects the illumination light are provided in a single housing which can be guided by the operator to scan the object; (b) a position detector for determining the position of the scanner; (c) a processor for processing signals from the detector which detects laser light and the position detector to produce data defining the three-dimensional computer model; and (d) a processor for processing signals from the detector that detects the illumination light to produce the texture data.
 58. A scanning apparatus for movement by an operator to scan an object having a surface to produce data for use in generating a three-dimensional computer model thereof, comprising: a laser arranged to emit laser light onto the object surface; a detector to detect laser light reflected from the object surface; a light source arranged to emit illumination light onto the object surface; and a detector to detect illumination light reflected from the object surface; wherein: the light source is arranged to substantially surround the detector which detects the illumination light; and the laser, the detector which detects the laser light, the light source and the detector which detects the illumination light are provided in a single housing which can be guided by the operator to scan the object.
 59. Apparatus according to claim 58, wherein the light source comprises a plurality of separate lights arranged around the detector that detects the illumination light.
 60. Apparatus according to claim 58, wherein the detector that detects the laser light and the detector that detects the illumination light are provided as a single detector which detects both the laser light and the illumination light.
 61. Apparatus according to claim 60, wherein the single detector comprises an array of sensing elements.
 62. Apparatus according to claim 61, wherein the single detector comprises a color camera.
 63. Scanning apparatus for scanning an object to generate a three-dimensional computer model thereof, comprising: a scanner mounted on a multiply-jointed arm for movement by an operator to scan the object to capture data from a plurality of points on the surface of the object, the scanner comprising: (a) a light source operable to emit light onto the object surface; and (b) a light detector operable to detect light reflected from the object surface; (c) a position calculator for calculating the position of the multiply-joined arm, and outputting position data defining the position; and (d) a model generator for receiving reflected light data output by the light detector and associated position data output from the position calculator, and for processing the data to generate a three-dimensional computer model of the object, wherein the model generator comprises: (i) a polygon mesh generator operable to process the reflected light data and the associated position data to generate a plurality of polygon meshes, each respective mesh containing points in three-dimensional space representing points on the surface of the object; (ii) a polygon mesh aligner operable to align the polygon meshes in dependence upon the positions of closest points in different respective meshes; and (iii) a polygon mesh integrator operable to combine the aligned polygon meshes to generate the three-dimensional computer model.
 64. Processing apparatus operable to receive and process signals detected by a scanner as it is moved by a user to different positions representing radiation reflected from a plurality of points on an object surface and signals conveying the position of the scanner, the apparatus comprising: a polygon mesh generator operable to process the signals received from the scanner and the signals conveying the position of the scanner to generate a plurality of polygon meshes, each respective mesh containing points in three-dimensional space representing points on the surface of the object; and a polygon mesh aligner operable to align the polygon meshes in dependence upon the positions of closest points in different respective meshes.
 65. A method of processing signals detected by a scanner as it is moved by a user to different positions representing radiation reflected from a plurality of points on an object surface and signals conveying the position of the scanner, the method comprising: processing the signals received from the scanner and the signals conveying the position of the scanner to generate a plurality of polygon meshes, each respective mesh containing points in three-dimensional space representing points on the surface of the object; and aligning the polygon meshes in dependence upon the positions of closest points in different respective meshes.
 66. A computer-readable medium having computer executable instructions which, when executed, cause a programmable processing apparatus to perform the processing operations of: processing signals representing radiation reflected from a plurality of points on an object surface and detected by a scanner as it is moved by an operator to different positions and signals conveying the position of the scanner, to generate a plurality of polygon meshes, each respective mesh containing points in three-dimensional space representing points on the surface of the object; and aligning the polygon meshes in dependence upon the positions of closest points in different respective meshes.
 67. Scanning apparatus for scanning an object to generate three-dimensional data, comprising: a scanner mounted on a multiply-jointed arm for movement by an operator to scan the object to capture data from a plurality of points on the surface of the object, the scanner comprising: (a) a light source operable to emit light onto the object surface; and (b) a light detector operable to record light reflected from the object surface at different respective recording times; (c) a position calculator operable to generate position data defining the position of the multiply-jointed arm at different respective times; (d) a data synchronizer operable to determine the timing relationship between the recording times of the light detector and the position data of the multiply-jointed arm generated by the position calculator; and (e) a three-dimensional data generator operable to receive data recorded by the light detector, position data generated by the position calculator and timing relationship data determined by the data synchronizer, and operable to process the data to generate three-dimensional data relating to the object.
 68. Apparatus according to claim 67, wherein the data synchronizer is operable to determine the timing relationship by determining the time difference between a recording time of the light detector and a time at which position data is generated by the position calculator, and determining therefrom a position of the multiply-jointed arm when the light was recorded by the light detector.
 69. Apparatus according to claim 67, wherein the data synchronizer is operable to determine the timing relationship by reading position data generated by the position calculator defining the position of the multiply-jointed arm at a plurality of different times, and calculating therefrom a position of the multiply-jointed arm at a time of light recording by the light detector.
 70. Apparatus according to claim 69, wherein the data synchronizer is operable to interpolate between different positions of the multiply-jointed arm to calculate a position of the multiply-jointed arm at a time of light recording by the light detector.
 71. Scanning apparatus for scanning an object to generate three-dimensional data, comprising: scanning means mounted on a multiply-jointed arm for movement by an operator for scanning the object to capture data from a plurality of points on the surface of the object, the scanning means comprising: (a) light emitting means for emitting light onto the object surface; and (b) light detecting means for recording light reflected from the object surface at different respective recording times; (c) position calculating means for generating position data defining the position of the multiply-jointed arm at different respective times; (d) data synchronization means for determining the timing relationship between the recording times of the light detector and the position data of the multiply-jointed arm generated by the position calculator; and (e) three-dimensional data generating means for receiving data recorded by the light detecting means, position data generated by the position calculating means and timing relationship data determined by the data synchronization means, and for processing the data to generate three-dimensional data relating to the object.
 72. A method of scanning an object having a surface to generate three-dimensional data, comprising: moving a scanner mounted on a multiply-jointed arm to scan the object to capture data from a plurality of points on the surface of the object by lighting the object surface and recording light reflected from the object surface at different respective recording times to generate recorded light data; generating position data defining the position of the multiply-jointed arm at different respective times; determining the timing relationship between the recording times of the recorded light data and the position data of the multiply-jointed arm; and processing the recorded light data and the position data in accordance with the determined timing relationship to generate three-dimensional data relating to the object.
 73. A method according to claim 72, wherein the timing relationship is determined by determining the time difference between a recording time of light data and a time at which position data is generated, and determining therefrom a position of the multiply-jointed arm when the light was recorded to generate the recorded light data.
 74. A method according to claim 72, wherein the timing relationship is determined by reading position data defining a plurality of positions of the multiply-jointed arm and calculating therefrom a position of the multiply-jointed arm at a time of light recording.
 75. A method according to claim 74, wherein the position of the multiply-jointed arm at the time of light recording is calculated by interpolation.
 76. Scanning apparatus for scanning an object to generate three-dimensional data, comprising: a scanner mounted on a multiply-jointed arm for movement by an operator to scan the object to capture data from a plurality of points on the surface of the object, the scanner comprising: (a) a light source operable to emit light onto the object surface; and (b) a light detector operable to record light reflected from the object surface at recording times defined by a timing signal; (c) a position calculator operable to generate position data defining the position of the multiply-jointed arm in response to a position data request signal; (d) a signal generator operable to generate the timing signal for the light detector and to generate the position data request signal for the position calculator so as to cause the light detector to record reflected light and the position calculator to generate position data in a synchronous manner; and (e) a three-dimensional data generator operable to receive data recorded by the light detector and synchronized position data generated by the position calculator, and operable to process the data to generate three-dimensional data relating to the object.
 77. Apparatus according to claim 76, wherein the signal generator is operable to generate the position data request signal for the position calculator using the timing signal for the light detector.
 78. Apparatus according to claim 76, wherein the signal generator is operable to generate the position data request signal for the position calculator in dependence upon the recording times of the light detector.
 79. Scanning apparatus for scanning an object to generate three-dimensional data, comprising: scanning means mounted on a multiply-jointed arm for movement by an operator for scanning the object to capture data from a plurality of points on the surface of the object, the scanning means comprising: (a) light emitting means for emitting light onto the object surface; and (b) light detecting means for recording light reflected from the object surface at recording times defined by a timing signal; (c) position calculating means for generating position data defining the position of the multiply-jointed arm in response to a position data request signal; (d) signal generating means for generating the timing signal for the light detecting means and for generating the position data request signal for the position calculating means so as to cause the light detecting means to record reflected light and the position calculating means to generate position data in a synchronous manner; and (e) three-dimensional data generating means for receiving data recorded by the light detecting means and synchronized position data generated by the position calculating means, and for processing the data to generate three-dimensional data relating to the object.
 80. A method of scanning an object having a surface to generate three-dimensional data, comprising: moving a scanner mounted on a multiply-jointed arm to scan the object to capture data from a plurality of points on the surface of the object by lighting the object surface and recording light reflected from the object surface at recording times defined by a timing signal to generate recorded light data; generating position data defining the position of the multiply-jointed arm in response to a position data request signal; generating the timing signal to control the reflected light recording and generating the position data request signal to control the generation of the position data so as to cause the reflected light to be recorded and the position data to be generated in a synchronous manner; and processing the recorded light data and synchronized position data to generate three-dimensional data relating to the object.
 81. A method according to claim 80, wherein the position data request signal is generated in dependence upon the timing signal for the light detector.
 82. A method according to claim 80, wherein the position data request signal is generated in dependence upon the recording times of the reflected light. 